Loading TOC...

POST /manage/v2/tickets/{ticketnumber}/revert

Summary

[DEPRECATED: use GET /manage/v3 and POST /manage/v3 instead.]

This resource address reverts to the configuration that existed before installing the package associated with the specified ticket (ticketnumber). The ticketnumber is in the ticket URI returned by the install operation.

Reverting an installed package does not remove any imported forests.

Required Privileges

This operation requires the manage-admin role, or the following privilege:

http://marklogic.com/xdmp/privileges/manage

Example


      curl -X POST --digest -u admin:admin -H "Content-type: application/xml" \
      "http://localhost:8002/manage/v2/tickets/12345687/revert" 

      ==> Restores the configuration on localhost to that which existed before 
          installing the package identified by ticket 12345687.

    

Stack Overflow iconStack Overflow: Get the most useful answers to questions from the MarkLogic community, or ask your own question.